﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrusadeGmTool.Models;

namespace CrusadeGmTool.Controls
{
    public partial class ServerInfoControl : UserControl
    {
        ServerInfo _serverinfo;

        public ServerInfoControl()
        {
            InitializeComponent();
            propertyGrid1.SelectedObject = _serverinfo;
        }

        public ServerInfo Serverinfo
        {
            get { return _serverinfo; }
            set { _serverinfo = value; propertyGrid1.SelectedObject = _serverinfo; }
        }

    }
}
